package com.citcc4.traffic.data.domain.point;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class PointRuleEntity implements Serializable {
    private String id;

    private String pointRuleName;

    private BigDecimal pointNumber;

    private BigDecimal dayLimit;

    private BigDecimal monthLimit;

    private String isSingleFlag;

    private String description;

    private Date statisDate;

    private String delFlag;

    private Date createDate;

    private Date updateDate;

    private String creator;

    private String modifier;

    private String sort;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getPointRuleName() {
        return pointRuleName;
    }

    public void setPointRuleName(String pointRuleName) {
        this.pointRuleName = pointRuleName == null ? null : pointRuleName.trim();
    }

    public BigDecimal getPointNumber() {
        return pointNumber;
    }

    public void setPointNumber(BigDecimal pointNumber) {
        this.pointNumber = pointNumber;
    }

    public BigDecimal getDayLimit() {
        return dayLimit;
    }

    public void setDayLimit(BigDecimal dayLimit) {
        this.dayLimit = dayLimit;
    }

    public BigDecimal getMonthLimit() {
        return monthLimit;
    }

    public void setMonthLimit(BigDecimal monthLimit) {
        this.monthLimit = monthLimit;
    }

    public String getIsSingleFlag() {
        return isSingleFlag;
    }

    public void setIsSingleFlag(String isSingleFlag) {
        this.isSingleFlag = isSingleFlag == null ? null : isSingleFlag.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Date getStatisDate() {
        return statisDate;
    }

    public void setStatisDate(Date statisDate) {
        this.statisDate = statisDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator == null ? null : creator.trim();
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier == null ? null : modifier.trim();
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort == null ? null : sort.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pointRuleName=").append(pointRuleName);
        sb.append(", pointNumber=").append(pointNumber);
        sb.append(", dayLimit=").append(dayLimit);
        sb.append(", monthLimit=").append(monthLimit);
        sb.append(", isSingleFlag=").append(isSingleFlag);
        sb.append(", description=").append(description);
        sb.append(", statisDate=").append(statisDate);
        sb.append(", delFlag=").append(delFlag);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateDate=").append(updateDate);
        sb.append(", creator=").append(creator);
        sb.append(", modifier=").append(modifier);
        sb.append(", sort=").append(sort);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}